FROM java:8

LABEL maintainer="hotel"
WORKDIR /opt/hotel-tv-admin/

ADD src/java/hotel-tv-web-admin/target/lib /opt/hotel-tv-admin/lib
ADD src/java/hotel-tv-web-admin/target/resources /opt/hotel-tv-admin/resources
ADD src/java/hotel-tv-web-admin/target/hotel-tv-web-admin*.jar /opt/hotel-tv-admin/hotel-tv-web-admin.jar

EXPOSE 8080

ENTRYPOINT [ "java","-jar","hotel-tv-web-admin.jar" ]